﻿<div style="padding:10px 20px;">

<script type="text/javascript">
<!--

_run( function() {
	
	$('#btnSubmit').click( function() {
		$('#myform').submit();
	});
	
});

//-->
</script>




<table id="tblTools" border="0" cellpadding="4" cellspacing="1" style="width: 100%; font-size:12px;">
	<tr>
		<td>	

		
		<span class="menuMore" list="groupFilterList"><strong>_{groupPostFilter}</strong><img src="~img/down.gif" />
		<ul id="groupFilterList" class="menuItems" style="width:120px;">
		<li><a href="?filter=">_{all}</a><span></span></li>
		<li><a href="?filter=today">_{today}</a><span></span></li>
		<li><a href="?filter=week">_{lastWeek}</a><span></span></li>
		<li><a href="?filter=month">_{lastMonth}</a><span></span></li>
		<div style="clear:both;"></div>
		</ul>
		</span>
	

		
		</td>
		<td style="text-align:right">
		
		<form id="myform" action="#{SearchAction}" method="get">
		<strong style="margin-left: 10px;">_{search}</strong>:
		<select name="queryType">
			<option value="title">_{title}</option>
			<option value="creator">_{author}</option>
		</select>&nbsp; 
		<input name="name" id="name" type="text" value="#{s.Name}" />
		<input name="Button1" id="btnSubmit" type="button" class="btn btns" value="_{search}"></form>
		
		</td>
	</tr>
</table>


<table cellspacing="1" cellpadding="3" border="0" style="width: 100%;" id="dataAdminList" data-action="#{OperationUrl}">
    <tr class="adminBar"><td colspan="5">_{allPosts}</td>
    </tr>
	<tr class="tableHeader">
	<td>_{created}</td><td>_{group}</td><td>_{title}</td>
	<td align="center">(_{reply})/_{view}</td><td>_{author}</td>
	</tr>
	<!-- BEGIN posts -->
	<tr class="tableItems">
		<td>#{p.Created}</td>
		<td><a href="#{p.GroupLink}" target="_blank">#{p.GroupName}</a></td>
		<td><a href="#{p.Link}" target="_blank">#{p.Title}</a></td>
		<td align="center">#{p.Replies}#{p.Hits}</td>
		<td><a href="#{p.UserLink}" target="_blank">#{p.UserName}</a></td>
	</tr>
	<!-- END posts -->
	<tr><td colspan="5">#{page}</td></tr>
</table>


</div>
